package com.ruoyi.staff.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工基础信息对象 staff_baseinfo
 * 
 * @author bzs
 * @date 2021-08-22
 */
public class StaffBaseinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @Excel(name = "姓名")
    private String stfName;

    /** 证件号 */
    @Excel(name = "证件号")
    private String idCard;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private Long phoneNumber;

    /** 部门 */
    @Excel(name = "部门")
    private String stfDep;

    /** 工号 */
    @Excel(name = "工号")
    private Long stfId;

    /** 职位 */
    @Excel(name = "职位")
    private String stfPosition;

    /** 学校 */
    @Excel(name = "学校")
    private String stfSchool;

    /** 专业 */
    @Excel(name = "专业")
    private String stfMajor;

    /** 入校时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入校时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfEnrollDate;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfEndDate;

    /** 学历 */
    @Excel(name = "学历")
    private String stfDegree;

    /**学位 */
    @Excel(name = "学位")
    private String stfDiploma;

    /** 合同中止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同中止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfContractEndDate;

    /** 社保卡卡号 */
    @Excel(name = "社保卡卡号")
    private Long socialSecurityId;

    /** 公积金账号 */
    @Excel(name = "公积金账号")
    private Long accumulationFundId;

    /** 婚姻状态 */
    @Excel(name = "婚姻状态")
    private String maritalStatus;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfHiredate;

    /** 资质证书路径 (这个字段当备用字段吧，暂时用不到)*/
    @Excel(name = "资质证书路径")
    private String stfCertificatePath;

    /** 紧急联系人*/
    @Excel(name = "紧急联系人")
    private String emergencyContact;

    /** 是否入党（0是，1否，2未知）*/
    private String isParty;

    /** 入党时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入党时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date partyTime;


    public String getIsParty() {
        return isParty;
    }

    public void setIsParty(String isParty) {
        this.isParty = isParty;
    }

    public Date getPartyTime() {
        return partyTime;
    }

    public void setPartyTime(Date partyTime) {
        this.partyTime = partyTime;
    }

    public String getStfName() {
        return stfName;
    }

    public void setStfName(String stfName) {
        this.stfName = stfName;
    }

    public Long getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(Long phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getStfDep() {
        return stfDep;
    }

    public void setStfDep(String stfDep) {
        this.stfDep = stfDep;
    }

    public Long getStfId() {
        return stfId;
    }

    public void setStfId(Long stfId) {
        this.stfId = stfId;
    }

    public String getStfPosition() {
        return stfPosition;
    }

    public void setStfPosition(String stfPosition) {
        this.stfPosition = stfPosition;
    }

    public String getStfSchool() {
        return stfSchool;
    }

    public void setStfSchool(String stfSchool) {
        this.stfSchool = stfSchool;
    }

    public String getStfMajor() {
        return stfMajor;
    }

    public void setStfMajor(String stfMajor) {
        this.stfMajor = stfMajor;
    }

    public Date getStfEnrollDate() {
        return stfEnrollDate;
    }

    public void setStfEnrollDate(Date stfEnrollDate) {
        this.stfEnrollDate = stfEnrollDate;
    }

    public Date getStfEndDate() {
        return stfEndDate;
    }

    public void setStfEndDate(Date stfEndDate) {
        this.stfEndDate = stfEndDate;
    }

    public String getStfDegree() {
        return stfDegree;
    }

    public void setStfDegree(String stfDegree) {
        this.stfDegree = stfDegree;
    }

    public String getStfDiploma() {
        return stfDiploma;
    }

    public void setStfDiploma(String stfDiploma) {
        this.stfDiploma = stfDiploma;
    }

    public Date getStfContractEndDate() {
        return stfContractEndDate;
    }

    public void setStfContractEndDate(Date stfContractEndDate) {
        this.stfContractEndDate = stfContractEndDate;
    }

    public Long getSocialSecurityId() {
        return socialSecurityId;
    }

    public void setSocialSecurityId(Long socialSecurityId) {
        this.socialSecurityId = socialSecurityId;
    }

    public Long getAccumulationFundId() {
        return accumulationFundId;
    }

    public void setAccumulationFundId(Long accumulationFundId) {
        this.accumulationFundId = accumulationFundId;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public Date getStfHiredate() {
        return stfHiredate;
    }

    public void setStfHiredate(Date stfHiredate) {
        this.stfHiredate = stfHiredate;
    }

    public String getStfCertificatePath() {
        return stfCertificatePath;
    }

    public void setStfCertificatePath(String stfCertificatePath) {
        this.stfCertificatePath = stfCertificatePath;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }


    @Override
    public String toString() {
        return "StaffBaseinfo{" +
                "stfName='" + stfName + '\'' +
                ", phoneNumber=" + phoneNumber +
                ", stfDep='" + stfDep + '\'' +
                ", stfId=" + stfId +
                ", stfPosition='" + stfPosition + '\'' +
                ", stfSchool='" + stfSchool + '\'' +
                ", stfMajor='" + stfMajor + '\'' +
                ", stfEnrollDate=" + stfEnrollDate +
                ", stfEndDate=" + stfEndDate +
                ", stfDegree='" + stfDegree + '\'' +
                ", stfDiploma='" + stfDiploma + '\'' +
                ", stfContractEndDate=" + stfContractEndDate +
                ", socialSecurityId=" + socialSecurityId +
                ", accumulationFundId=" + accumulationFundId +
                ", maritalStatus='" + maritalStatus + '\'' +
                ", stfHiredate=" + stfHiredate +
                ", stfCertificatePath='" + stfCertificatePath + '\'' +
                ", emergencyContact='" + emergencyContact + '\'' +
                ", isParty='" + isParty + '\'' +
                ", partyTime='" + partyTime + '\'' +
                ", idCard='" + idCard + '\'' +
                '}';
    }
}
